package com.zn.kjj.util;

import java.io.Serializable;


/**
 * 通用静态属性类
 * @author w15579
 */
public class Constants implements Serializable {
    /**
     * serialVersionUID
     */
    private static final long serialVersionUID = -7901645102982248449L;
    /**
     * 当前用户
     */
    public static final String CURRENT_USER = "user";
    /**
     * 当前用户权限
     */
    public static final String USER_PERMISSION = "permission";
    /**
     * 当前用户数据char31权限
     */
    public static final String DATA_PERMISSION = "data_permission";
    /**
     * 当前用户数据-权限
     */
    public static final String DATA1_PERMISSION = "data1_permission";
    /**
     * 当前时间权限
     */
    public static final String DATE_PERMISSION = "date_permission";
    /**
     * 在线列表
     */
    public static final String ONLINEUSERS = "OnLineUsers";

    /**
     * 会话超时时间
     */
    public static final int SESSION_TIMEOUT_TIME = 15;

    /**
     * 登录数量
     */
    public static final int LOGIN_COUNT_LIMIT = 5;

    /**
     * 会话存活时间
     */
    public static final String USER_ACTIVITY_TIME = "SessionActivityTime";

    /**
     * 版本信息
     */
    public static String VERSION = "";
    /**
     * 用户信息缓存
     */
    public static final String CACHE_SESSIONCACHE = "sessionCache";
    /**
     * 用户对照关系缓存
     */
    public static final String CACHE_SESSIONCONTRAST = "sessionContrast";
    /**
     * 会话是否被踢出
     */
    public static final String KICKOUT = "kickout";


}
